/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package isgesis;

/**
 *
 * @author Agustin
 */
public class Controladora {

    private static Controladora instance;

    public static Controladora getInstance() {
        if (instance == null) {
            instance = new Controladora();
        }
        return instance;
    }

    public boolean isNumeric(String cadena) {
        try {
            Integer.parseInt(cadena);
            return true;
        } catch (NumberFormatException nfe) {
            return false;
        }
    }
}
